package setvice;

import entity.Decreate;
import java.util.List;
public interface DecreateService {
    boolean insertDecreateService(Decreate decreate);

    boolean deleteDecreateByDecreateThemeController(Integer id, String theme);

    boolean changeDecreateByIdService(Integer id, String theme, Decreate decreate);

    List<Decreate> seekAllDecreateService();

    List<Decreate> seekDecreateByIdService(Integer id);
}
